package cn.edu.gdpt.mobile213.mobile2121606097wjc0511;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

public class ShowDataActivity extends AppCompatActivity {
    private TextView tvShowDataUserName;
    private TextView tvShowDataCall;
    private TextView tvShowDataEmail;
    private TextView tvShowDataText;
    private Button btnShowDataLogin;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_data);
        initView();
        Intent intent=getIntent();
        tvShowDataUserName.setText(intent.getStringExtra("userNmae"));
        Bundle bundle=intent.getExtras();
        tvShowDataCall.setText(bundle.getString("call"));
    }

    private void initView() {
        tvShowDataUserName=(TextView) findViewById(R.id.tvShowDataUserName);
        tvShowDataCall=(TextView) findViewById(R.id.tvShowDataCall);
        tvShowDataEmail=(TextView) findViewById(R.id.tvShowDataEmail);
        tvShowDataText=(TextView) findViewById(R.id.tvShowMainText);
        btnShowDataLogin=(Button) findViewById(R.id.btnShowDataLogin);
    }
}